<?php

namespace App\model;

use Illuminate\Database\Eloquent\Model;

class Operate extends Model
{
    /**
     * 作者：*****
     *  登陆操作列表
     * @$array
	 *
	 *
     */
	public function addLogin_ope() {
		$opeList = DB::table('login_ope')
			->join('user','login_ope.usr_id','=','user.use_id')
			->join('operation','operation.log_id','=','login_ope.log_id')
			->all();
		return $opeList;
		
	}
	/**
     * 作者：*****
     * 页面操作列表
     * @$array
     */
	public function addOper() {
		$oper = DB::table('operation')
			->join('user','operation.usr_id','=','user.use_id')
			->all();
		return $oper;
	}
}
